<?php
class Webboard extends Public_Controller
{
	public function __construct()
	{
		parent::__construct();
	}
	
	public function index($slug = 'main')
	{
		$data['slug'] = $slug;
		$data['categories'] = new Webboard_category;
		$data['categories']->order_by('id','asc')->get();
		$this->template->build('webboard/index',$data);
	}
	
	
} 
?>